.base-layout {
  .layout-header {
    height: 48px;
    line-height: 48px;
    padding: 0 16px;
    display: flex;
    background-color: #003366;
    color: #fff;

    & > * {
      height: 100%;
    }
  }

  .layout-header-logo {
    display: flex;
    align-items: center;

    h1 {
      font-size: 18px;
      line-height: normal;
      color: #fff;
      margin: 0 0 0 12px;
    }
  }

  .layout-header-action {
    height: 48px;
    padding: 0 12px;
    cursor: pointer;

    .anticon {
      font-size: 18px;
    }

    &:hover {
      background: #252a3d;
    }
  }
}

.center-nav-title {
  display: flex;
  flex: 1;
  margin-left: 1.5vw;
  height: 100%;
  justify-content: center;
  margin-bottom: 0;
  align-items: center;
  overflow-x: scroll;
  overflow-y: hidden;
  &::-webkit-scrollbar {
    height: 0;
  }
  .nav-item {
    display: block;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
  }
  .nav-item-title {
    padding: 4px 10px;
    border: 1px solid transparent;
    border-radius: 5px;
    &.active {
      border: 1px solid #fff;
      background-color: #fff;
      border-radius: 5x;
      color: #003366;
      transition: all 0.5s;
    }
  }
  .nav-item + .nav-item {
    margin-left: 10px;
  }
}

.children-page {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #fff;
  :deep(.ant-layout) {
    height: 100%;
    overflow: hidden;
  }
  :deep(.ant-layout-sider) {
    background: #fff;
    border-right: 1px solid #ddd;
  }
  :deep(.ant-layout-content) {
    background-color: #d4d6d8;
  }
}
